// Date实例的字符串形式

const current = new Date();
console.log( current instanceof Date ); // true
console.log( Date.prototype.isPrototypeOf( current ) ); // true
console.log( Object.getPrototypeOf(current) === Date.prototype ); // true
console.log( current.__proto__ === Date.prototype ); // true

// Date.prototype.toString()
console.log( current.toString() );
console.log( current.toLocaleString() );

console.log( current.toDateString() );
console.log( current.toLocaleDateString() );

console.log( current.toTimeString() );
console.log( current.toLocaleTimeString() );

console.log( current.toISOString() );
console.log( current.toUTCString() );

let json = current.toJSON();
console.log( json );